package com.yongan.sales.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yongan.sales.entity.SalesOrderDetails;

public interface SalesOrderDetailsDao {

	SalesOrderDetails queryById(String salesOrderDetailsId);
	
	List<SalesOrderDetails> queryAllByTopId(String 	topId);
	
	int insertSalesOrderDetails(SalesOrderDetails salesOrderDetails);
	
	int deleteSalesOrderDetails(String salesOrderDetailsId);
	
	int updateSalesOrderDetails(SalesOrderDetails salesOrderDetails);
	
	int deleteAllSalesOrderDetails(String topId);
	
	int updateDetailsCksl(@Param("salesOrderDetailsId")String salesOrderDetailsId,@Param("content")String content);
	
}
